package com.oa.ylms.apps.business.leave;

import java.util.List;

import com.oa.ylms.apps.entity.archives.StaffInfoValue;
import com.oa.ylms.apps.entity.leave.LeaveCheckValue;
import com.oa.ylms.apps.entity.leave.LeaveInfoValue;

public interface ILeaveCheckService {
	
	public List<LeaveCheckValue> queryLeaveCheckByLeaveId(int leaveId) throws Exception;

	public int countTpagesByCheckList(StaffInfoValue staffInfo, String staffName, int rows) throws Exception;
	
	public List<LeaveInfoValue> queryCheckList(StaffInfoValue staffInfo, String staffName ,int rows, int pageNo) throws Exception;

	public int getTotalNumber() throws Exception;
	
	public void checkPassed(StaffInfoValue staffInfo,int leaveId,String comments) throws Exception;
	
	public void checkFailed(StaffInfoValue staffInfo,int leaveId,String comments) throws Exception;
}
